package net.googlecode.demenkov.task5.model;

public class Employee extends Manager {
    /**
     * Employee experience
     */
    public int yearOfExperience;

    public int getYearOfExperience() {
        return yearOfExperience;
    }

    public void setYearOfExperience(int yearOfExperience) {
        this.yearOfExperience = yearOfExperience;
    }

    @Override
    public String getType() {
        return Person.EMPLOYEE;
    }
}
